// ==UserScript== // @name TechGrow/OpenWrite ByPass // @namespace https://bbs.tampermonkey.net.cn/ // @version 0.1.0 // @description try to take over the world! // @author You // @include * // @run-at document-start // @grant unsafeWindow // ==/UserScript== Object.defineProperty(unsafeWindow, 'ReadmorePlugin', { value: { init: () => { } }, writable: false, }) const getItem = localStorage.getItem localStorage.getItem = function (...args) { if (args[0]?.indexOf('TOKEN_') !== -1) { debugger localStorage.setItem(args[0], args[0].replace('TOKEN_', "")) localStorage.getItem = getItem } return getItem.call(this, ...args) }